package adapter;

/**
 * @Author: linKe
 * @Date: 2022/1/14 17:03
 * @FileName: ChinaDuck
 * @version: 1.0
 * @Description: 描述
 * adapter  适配器模式
 */
public class ChinaDuck implements Duck{
    @Override
    public void chirp() {
        System.out.println("天朝得鸭子曲项向天歌");
    }

    @Override
    public void fly() {
        System.out.println("天朝得鸭子白毛浮绿水");
    }
}
